package com.fingard.dsp.bank.directbank.pab01;

import com.fingard.xml.XElement;
import com.fingard.xml.XmlTextReader;

public class DownFileReq {
	/**  <list>
    <FileName>11002923034501_4004_20190429.txt</FileName>
    <FilePath>
    </FilePath>
    <RandomPwd>BLVJ5dXM39lorcmw/puCquJ4UGY9GJ2j</RandomPwd>
    <SignData>
    </SignData>
    <HashData>
    </HashData>
  </list>
	 * @throws Exception */
	public DownFileReq(XElement xe) throws Exception{
		fileName = xe.getSingleTextNotNull("FileName");
		filePath = xe.getSingleTextNotNull("FilePath");
		randomPwd = xe.getSingleTextNotNull("RandomPwd");
		signData = xe.getSingleTextNotNull("SignData");
		hashData = xe.getSingleTextNotNull("HashData");
	}
    public DownFileReq(XmlTextReader xe) throws Exception{
        fileName = xe.getSimpleText("FileName");
        filePath = xe.getSimpleText("FilePath");
        randomPwd = xe.getSimpleText("RandomPwd");
        signData = xe.getSimpleText("SignData");
        hashData = xe.getSimpleText("HashData");
    }
	public String fileName = "";
	public String filePath = "";
	public String randomPwd = "";
	public String signData = "";
	public String hashData = "";
}
